/*
 * 项目名称:    wms-server-jeecg
 * 创建人员:    hansen
 * 创建时间:    2023-09-25
 */
package org.jeecg.modules.dock.entity.mes.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * MES-WMS发送纵横剪退纸筒
 *
 * @author hansen
 * @version 1.0.0
 * @date 2023-09-25 08:15:39
 */
@ApiModel(value = "MES-WMS发送纵横剪退纸筒", description = "MES-WMS发送纵横剪退纸筒")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CutThePaperTubeHorizontallyRequestVO extends MesBaseRequestVO{

    @ApiModelProperty("生产订单号")
    private String orderCode;

    @NotNull
    @ApiModelProperty("明细")
    private List<Detail> detail;

    static class Detail implements Serializable {

        @NotNull
        @NotBlank
        @ApiModelProperty("纸筒规格(待定义)")
        private String spec;

        @NotNull
        @ApiModelProperty("数量")
        private Integer number;

    }
}
